package com.mapper;

import com.model.Message;
import com.model.MessageDTO;

import java.util.List;
import java.util.Map;

/**
* @author hsltu
* @description 针对表【message】的数据库操作Mapper
* @createDate 2023-04-26 13:41:52
* @Entity com.model.Message
*/
public interface MessageMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

    int getCount(Message message);

    List<MessageDTO> queryMessageByUid(Map<String, Object> map);

    List<Message> queryMessageListByFromId(Message message);
}
